package cn.cheegon.blog.entity.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @Desc:
 * @Author: cheegon
 * @Date: Create in 2024/7/3  上午8:38
 */
@Data
public class ProjectReq {

    private Long id;

    @NotNull
    @Schema(description = "标题")
    private String title;

    @Schema(description = "内容(富文本)")
    private String content;

    private String techs;

    @Schema(description = "图片地址")
    private String picUrl;

    @NotNull
    @Schema(description = "地址")
    private String url;

    @NotNull
    @Schema(description = "类型")
    private Integer type;
}
